/*
 Navicat Premium Data Transfer

 Source Server         : MySQL01
 Source Server Type    : MySQL
 Source Server Version : 80020
 Source Host           : localhost:3306
 Source Schema         : train

 Target Server Type    : MySQL
 Target Server Version : 80020
 File Encoding         : 65001

 Date: 22/09/2020 22:56:35
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for train_info
-- ----------------------------
DROP TABLE IF EXISTS `train_info`;
CREATE TABLE `train_info` (
  `train_no` varchar(50) NOT NULL COMMENT '车次编号',
  `start_station` varchar(50) NOT NULL COMMENT '始发站',
  `arrival_station` varchar(50) NOT NULL COMMENT '终点站',
  `start_time` varchar(50) NOT NULL COMMENT '出发时间',
  `arrival_time` varchar(50) NOT NULL COMMENT '到达时间',
  `type` varchar(50) NOT NULL COMMENT '车次类型',
  `runtime` varchar(50) NOT NULL COMMENT '运行时间',
  `mile` double NOT NULL COMMENT '里程',
  PRIMARY KEY (`train_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='火车车次信息表';

-- ----------------------------
-- Records of train_info
-- ----------------------------
BEGIN;
INSERT INTO `train_info` VALUES ('D1234', '合肥南站', '无锡站', '9:10', '11:15', '动车', '2:05', 470);
INSERT INTO `train_info` VALUES ('K233', '合肥站', '巢湖站', '8:45', '9:50', '快车', '1:05', 130);
INSERT INTO `train_info` VALUES ('T1314', '合肥站', '太原站', '2:10', '16:50', '特快', '14:40', 950);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
